package com.lm.dynamic;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Dynamic-DataSource  是一种可以根据业务需求动态切换数据源的技术
 */
@SpringBootApplication
@MapperScan("com.lm.dynamic.mapper")
public class DynamicApplication {
    public static void main(String[] args) {
        SpringApplication.run(DynamicApplication.class, args);
    }
}
